package com.huitone.smspfm.socket.core.handler;

import com.huitone.smspfm.socket.core.net.ExtSocket;
import com.huitone.smspfm.socket.protocol.sgip.message.msgbody.ActiveTest;
import com.huitone.smspfm.socket.protocol.sgip.message.msgbody.ActiveTestResp;
import com.huitone.smspfm.socket.protocol.sgip.message.msgbody.BindResp;
import com.huitone.smspfm.socket.protocol.sgip.message.msgbody.Deliver;
import com.huitone.smspfm.socket.protocol.sgip.message.msgbody.DeliverResp;
import com.huitone.smspfm.socket.protocol.sgip.message.msgbody.Report;
import com.huitone.smspfm.socket.protocol.sgip.message.msgbody.Report2;
import com.huitone.smspfm.socket.protocol.sgip.message.msgbody.Report2Resp;
import com.huitone.smspfm.socket.protocol.sgip.message.msgbody.ReportResp;
import com.huitone.smspfm.socket.protocol.sgip.message.msgbody.Submit;
import com.huitone.smspfm.socket.protocol.sgip.message.msgbody.Submit2;
import com.huitone.smspfm.socket.protocol.sgip.message.msgbody.Submit2Resp;
import com.huitone.smspfm.socket.protocol.sgip.message.msgbody.SubmitResp;
import com.huitone.smspfm.socket.protocol.sgip.message.msgbody.UnBind;
import com.huitone.smspfm.socket.protocol.sgip.message.msgbody.UnBindResp;
import com.huitone.smspfm.socket.protocol.sgip.message.msghead.Head;

public class AbstractMessageHandler implements MessageHandler {
	
	//private AbstractMessageHandler abstractMessageHandler = null;
	
	//private MessageHandlerProxy proxy = null;
	
	//private boolean autoResponse = false;
	
	public void destroy() {}

	@Override
	public void handleBindRespMessage(Head head, BindResp body, ExtSocket socket) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void handleSubmitMessage(Head head, Submit body, ExtSocket socket) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void handleSubmitRespMessage(Head head, SubmitResp body, ExtSocket socket) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void handleDeliverMessage(Head head, Deliver body, ExtSocket socket) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void handleDeliverRespMessage(Head head, DeliverResp body, ExtSocket socket) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void handleReportMessage(Head head, Report body, ExtSocket socket) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void handleReportRespMessage(Head head, ReportResp body, ExtSocket socket) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void handleUnBindMessage(Head head, UnBind body, ExtSocket socket) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void handleUnBindRespMessage(Head head, UnBindResp body, ExtSocket socket) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void handleActiveTestMessage(Head head, ActiveTest body, ExtSocket socket) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void handleActiveTestRespMessage(Head head, ActiveTestResp body, ExtSocket socket) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void handleSubmit2Message(Head head, Submit2 body, ExtSocket socket) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void handleSubmit2RespMessage(Head head, Submit2Resp body, ExtSocket socket) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void handleReport2Message(Head head, Report2 body, ExtSocket socket) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void handleReport2RespMessage(Head head, Report2Resp body, ExtSocket socket) {
		// TODO Auto-generated method stub
		
	}

	/*public boolean isAutoResponse() {
		return autoResponse;
	}

	*//**
	 * 是否自动回复消息响应
	 * @param autoResponse
	 *//*
	public void setAutoResponse(boolean autoResponse) {
		this.autoResponse = autoResponse;
		if (this.autoResponse == true) {
			proxy = new MessageHandlerProxy(this);
			this.abstractMessageHandler = (AbstractMessageHandler) proxy.getPorxy();
		} else {
			if (this.abstractMessageHandler != null) {
				this.abstractMessageHandler = null;
			}
		}
	}

	public AbstractMessageHandler getProxyHandler() {
		return abstractMessageHandler;
	}
	
	public void destroyProxyHandler() {
		if (abstractMessageHandler != null) {
			abstractMessageHandler = null;
		}
	}*/
}
